package LifeSimulator;

import java.util.Random;

public class People {
    public int value;
    public int money;
    public People() {
        Random rnum = new Random();
        value = rnum.nextInt(9) + 1;
        money = 10;
    }

    @Override
    public String toString() {
        String s = "测试对象能力值为"+value*10+"% "+" 财富值为"+money+".";
        return s;
    }
}
